<?php

namespace app\data\model;

use think\admin\Model;

class DataPolicyInformation extends Model
{

    /**
     * @var mixed
     */
    public static $typeMap = [
        1  => 'enterprise_type',
        2  => 'industry_classification',
        3  => 'enterprise_scale',
        4  => 'corporate_revenue',
        5  => 'tax_bracket',
        6  => 'workers_number',
        7  => 'develop_proportion',
        8  => 'patent_number',
        9  => 'soft_quantity',
        10 => 'technical_qualifications',
        11 => 'industrial_chain_role',
        12 => 'establishment_period',
    ];

    public static $fieldMap = [
        'enterprise_type'          => 1,
        'industry_classification'  => 2,
        'enterprise_scale'         => 3,
        'corporate_revenue'        => 4,
        'tax_bracket'              => 5,
        'workers_number'           => 6,
        'develop_proportion'       => 7,
        'patent_number'            => 8,
        'soft_quantity'            => 9,
        'technical_qualifications' => 10,
        'industrial_chain_role'    => 11,
        'establishment_period'     => 12,
    ];
    public static $typeTxt  = [
        1  => '企业类型',
        2  => '行业分类',
        3  => '企业规模',
        4  => '企业营收',
        5  => '纳税等级',
        6  => '员工人数',
        7  => '研发比例',
        8  => '专利数量',
        9  => '软著数量',
        10 => '技术资质',
        11 => '产业链角色',
        12 => '成立时期',
    ];
}
